package com.hitqz.robot.api.business.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author xupkun
 * @date 2024/8/6
 */
@Data
@Schema(description = "告警记录")
public class HomeRobotWarningVo {


    private Long id;
    /**
     * 编号
     */
    @Schema(description="名称")
    private String name;

    /**
     * 检测类型
     */
    @Schema(description="检测类型")
    private String patrolType;



    /**
     * 报警内容
     */
    @Schema(description="报警内容")
    private String content;

    /**
     * 报警时间
     */
    @Schema(description="报警时间")
    private LocalDateTime time;

    /**
     * 报警等级 0-告警 1-预警 2-提醒
     */
    @Schema(description="报警等级 0-告警 1-预警 2-提醒")
    private Integer level;

    @Schema(description="报警等级描述")
    private String levelStr;
    /**
     * 已读标志
     */
    @Schema(description="已读标志")
    private String flag;


}
